/*
 * @Author: Zhang Wei
 * @Date: 2022-04-17 14:09:18
 * @LastEditors: Zhang Wei
 * @LastEditTime: 2022-04-17 23:29:13
 * @FilePath: \02_tank\src\model\strawModel.ts
 * @Description:
 * @Word: There is nothing either good or bad, but thinking makes it so.
 */

import ModelAbstract from './ModelAbstract';

import { image } from '../service/image';

export default class Model extends ModelAbstract implements IModel {
  name: string = 'straw';
  getImg(): HTMLImageElement {
    return image.get('straw')!;
  }
  render(): void {  
    console.log('straw');
    super.draw();
  }
}
